All Questions
7 questions
4votes
2answers
3kviews
Download entire localStorage as file
I would like to download the entire contents from localStorage to a json file (in a "clear" formatting). I've tried this and it works perfectly. However, ...
5votes
1answer
1kviews
Program for calculating and ranking scores
I've recently completed a vanilla JS challenge . It is a method for calculating and ranking scores. If possible, I would love to make it better. Any suggestions are welcome. Challenge Directions: The ...
6votes
1answer
680views
“Real world” JSON transformation using Node.js
Background I transformed a non-trivial JSON response that uses arrays into a nested object eliminating some of the original properties inserting a new summary property that is a unique list of ...
3votes
1answer
115views
An interesting use of the reduce function to convert tab-delimited data into JSON
I am learning functional programming in JavaScript. This is some code from a video tutorial by funfunfunction. I am particularly concerned about the way the existence of the customer key is checked in ...
1vote
1answer
53views
`new Function` for json reference
I have JSON with references to other parts in that JSON file. ...
2votes
0answers
98views
Extracting data for a tag cloud using Lazy.js
I've just started using Lazy.js, which is my first exposure to a "functional style" javascript library. I'm still utterly lost as to which of the hundred different functional javascript libraries to ...
1vote
2answers
81views
Getting the first selected item from a list of Backbone models
Current code (ES6): ...